/* part3.c
 *
 */

#include "utility.h"

int
main()
{
    int inputValue = 0;
    int i = 0;
    int numTheaters = 2;

    Printf("This is for theater simulation:\n>");

    inputValue = 0;
    while(inputValue < 1 || inputValue > 3)
    {
        Printf("Enter number of theaters (1 to 3):\n>");
        inputValue = getNumFromInput();
    }
    numTheaters = inputValue;
    for (i = 0;i < numTheaters; ++i) {
        Exec("../test/theater", 15);
    }
    Exit(0);

/*    Printf("\n");
    Printf("Number of Customers = [%d]\n", numCustomers);
    Printf("Number of Groups = [%d]\n", numGroups);
    Printf("Number of TicketClerks = [%d]\n", numTicketClerks);
    Printf("Number of ConcessionClerks = [%d]\n", numConcessionClerks);
    Printf("Number of TicketTakers = [%d]\n", numTicketTakers);
    Printf("\n");*/

    Exit(0);
}
